<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>链客云（Link）</title>

  <style>
    body .addBg {
      /*background: url('./static/icon.png') center .9rem no-repeat;*/
    }

    span {
      /*display: inline-block;*/
      /*width:2rem;*/
      /*height:2rem;*/
      /*position:absolute;*/
      /*top:1rem;*/
      /*left:.85rem;*/
      /*background:url(./static/icon.png) center -4.6rem no-repeat;*/
    }

  </style>

</head>

<body>
<h3>白色位置是您的网站内容，右下角就是客服气泡效果</h3>
<script type="text/javascript" id="ytcs"></script>
<!-- 
<script src='./static/frame.js'></script> -->

<script type="text/javascript">
  function getUrlParam(key) {//获取URL地址栏的参数
    // return 'aLHXNjfBOyV6uU6sHVAz5A%3D%3D';
    let reg = new RegExp("(^|&)" + key + "=([^&]*)(&|$)");
    let result = window.location.search.substr(1).match(reg);
    return result ? decodeURIComponent(result[2]) : "";
  }

  document.getElementById("ytcs").src = "./static/frame.js?token=" + encodeURIComponent(getUrlParam("token"));
</script>
</body>
</html>
